<div class="pro-main" ng-controller="ProfileController">
    <div class="base-tool-bar pro-tool-bar">
        <div class="tool-bar">
            <h3 class="pro-title">{{RootCompanyInfo.companyName}}</h3><span></span>
        </div>
    </div>
    <div class="base-content-main pro-content-main">
        <profile></profile>
    </div>



    <div ng-show="writeStep!=0">
        <div class="base-background"></div>
        <div  id="proWriteContentBox" class="pro-write-content-box"
             ng-style="EleStyle.height('body', 0.465)">
            <div class="pro-write-title-box">
                <h6 class="pro-write-title">{{{1:'公司信息', 2:'法人信息', 3: '联系人信息'}[writeStep]}}</h6>
                <div class="pro-write-progress-box">
                    <div class="pro-progress">
                        <div ng-class="{true: 'pro-progress-select'}[writeStep>=1]" id="proProgressCompany" class="pro-progress-title"><span class="pro-progress-title-number">1</span>
                        </div>
                        <p ng-class="{true: 'pro-progress-select-text'}[writeStep>=1]" class="pro-progress-text">公司信息</p>
                    </div>
                    <div class="pro-progress">
                        <div class="pro-progress-point-container">•••</div>
                        <div class="pro-progress-blank">
                        </div>
                    </div>
                    <div class="pro-progress" id="proProgress">
                        <div ng-class="{true: 'pro-progress-select'}[writeStep>=2]" id="proProgressLegal" class="pro-progress-title"
                             ><span class="pro-progress-title-number">2</span>
                        </div>
                        <p ng-class="{true: 'pro-progress-select-text'}[writeStep>=2]" class="pro-progress-text">法人信息</p>
                    </div>
                    <div class="pro-progress" >
                         <div class="pro-progress-point-container">•••</div>
                        <div class="pro-progress-blank">
                        </div>
                    </div>
                    <div class="pro-progress">
                        <div ng-class="{true: 'pro-progress-select'}[writeStep>=3]" id="proProgressContact" class="pro-progress-title"
                             ><span class="pro-progress-title-number">3</span>
                        </div>
                        <p ng-class="{true: 'pro-progress-select-text'}[writeStep>=3]" class="pro-progress-text">联系人信息</p>
                    </div>
                </div>
            </div>
            <div class="pro-write-text-box-step" ng-show="writeStep==1">
                <div class="pro-write-text-base pro-write-text-base-left">
                    <div class="pro-write-base-box pro-write-base-community">

                        <p class="pro-write-base-title"><span class="pro-write-base-star">*</span>所在社区：</p><input
                            ng-model="companyModel.community.name" value="{{companyModel.community.name}}"
                            class="pro-write-base-text form-control"  disabled="disabled" type="text">

                    </select>
                    </div>
                    <div class="pro-write-base-box">
                        <p class="pro-write-base-title"><span class="pro-write-base-star">*</span>公司名称：</p><input
                            ng-model="companyModel.companyName" value="{{RootCompanyInfo.companyName}}"
                            class="pro-write-base-text form-control" type="text">
                    </div>
                    <div class="pro-write-base-box">
                        <p class="pro-write-base-title"><span class="pro-write-base-star">*</span>公司所在地：</p><select class="pro-write-base-text-sel form-control pro-write-base-backimg pro-write-base-backimg-short" ng-model="companyModel.provinceObj" ng-options="province.name for province in citys.province">
                        <!--<option ng-hide="companyModel.provinceObj" value="">省份</option>-->
                        <!--<option ng-show="select" disabled="disabled" value="">{{companyModel.province}}</option>-->
                        <option  ng-show="false" disabled="disabled" value=''>请选择</option>
                    </select><select class="pro-write-base-text-sel form-control pro-write-base-backimg pro-write-base-backimg-short" ng-model="companyModel.cityObj" ng-options="city.name for city in companyModel.provinceObj.city">
                        <!--<option ng-show="select" disabled="disabled" value="">{{companyModel.city}}</option>-->
                        <!--<option ng-hide="companyModel.cityObj" value="">城市</option>-->
                        <option  ng-show="false" disabled="disabled" value=''>请选择</option>
                        </select><select class="pro-write-base-text-sel pro-write-base-text-sel-right form-control pro-write-base-backimg pro-write-base-backimg-short" ng-model="companyModel.districtObj" ng-options="county.name for county in companyModel.cityObj.county">
                        <!--<option ng-show="select" disabled="disabled" value="">{{companyModel.district}}</option>-->
                        <!--<option ng-hide="companyModel.districtObj" value="">区</option>-->
                        <option  ng-show="false" disabled="disabled" value=''>请选择</option>
                        </select>
                    </div>
                    <div class="pro-write-base-box">
                        <p class="pro-write-base-title"><span class="pro-write-base-star">*</span>公司地址：</p><input
                            ng-model="companyModel.address" value="{{RootCompanyInfo.address}}"
                            class="pro-write-base-text form-control" type="text">
                    </div>
                    <div class="pro-write-base-box">
                        <p class="pro-write-base-title">企业人数：</p><select class="pro-write-base-text pro-company-number-select form-control pro-write-base-backimg pro-write-base-backimg-short"
                                                                         ng-model="companyModel.companyStaffNum"
                                                                         ng-options="number for number in companyOptions.num">
                        <option  ng-show="false" disabled="disabled" value=''>请选择</option>
                    </select>


                    </div>
                    <div class="pro-write-base-box">
                        <p class="pro-write-base-title">公司行业：</p><select class="pro-write-base-text form-control pro-write-base-backimg"
                                                                         ng-model="companyModel.companyIndustry"
                                                                         ng-options="industry for industry in companyOptions.industry">
                        <option  ng-show="false" disabled="disabled" value=''>请选择</option>
                    </select>
                    </div>
                    <div class="pro-write-base-box">
                        <p class="pro-write-base-title"><span class="pro-write-base-star">*</span>公司性质：</p><select
                            class="pro-write-base-text form-control pro-write-base-backimg" ng-model="companyModel.companyNature"
                            ng-options="nature for nature in companyOptions.nature">
                        <option  ng-show="false" disabled="disabled" value=''>请选择</option>
                    </select>
                    </div>
                </div
                ><div class="pro-write-text-base pro-write-text-base-right">
                    <div class="pro-write-base-box-area">
                        <p class="pro-write-base-title pro-write-base-legal-name"><span
                                class="pro-write-base-star">*</span>公司简介：</p>
                        <textarea ng-model="companyModel.desc" class="form-control pro-write-base-desc" placeholder="公司介绍:10字-100字"></textarea>
                    </div>
                    <div class="pro-write-base-box-logo">
                        <p class="pro-write-base-title pro-company-back-title"><span class="pro-write-base-star">*</span>公司logo：</p>
                        <div class="pro-logo-box">
                            <div ng-class="upload.logo?'pro-logo-completed':''" class="pro-logo-content">
                                <input onchange='angular.element(this).scope().uploadCompanyLogo(this)' type="file" accept="image/png,image/gif" id="proLogo" class="pro-logo-file">
                                <img class="pro-logo-plus"  ng-src="{{upload.logo||'img/company/plus.png'}}" id="proLogoImg" alt="">
                            </div>
                        </div>
                    </div>
                    <div class="pro-write-base-box-logo">
                        <p class="pro-write-base-title pro-company-back-title"><span class="pro-write-base-star">*</span>公司环境图：</p>
                        <div class="pro-pictures-write">
                            <div class="pro-picture-write-content">
                                <div class="pro-write-arrow-box" >
                                    <div class="pro-write-arrow">
                                        <span style="right: 50%" class="fa fa-angle-left fa-3x pro-arrow" ng-click="to_left_image_container()"></span>
                                    </div>
                                </div
                                ><div class="pro-write-picture">
                                    <div id="imageContainer" class="pro-write-picture-content" ng-class="{true: 'pro-write-picture-right'}[upload.pictures.length >= 3]">
                                        <div  ng-repeat="number in [1, 2 ,3 ,4 ,5 ,6]"  class="pro-write-pictures" >
                                            <div ng-class="{true: 'pro-logo-completed'}[upload.pictures.length  >= number]" class="pro-write-pictures-content" id="proPicture{{number}}">
                                                <input onchange='angular.element(this).scope().uploadCompanyPictures(this)' ng-show="upload.pictures.length + 1 >= number" type="file" class="pro-logo-file"accept="image/png,image/gif">
                                                <img ng-show="upload.pictures.length +1  >= number" class="pro-logo-plus" ng-src="{{upload.pictures.length  >= number ? upload.pictures[number-1]:'img/company/plus.png'}}"  alt="">
                                            </div>
                                        </div>
                                    </div>
                                </div><div class="pro-write-arrow-box" ng-click="to_right_image_container()">
                                    <div class="pro-write-arrow">
                                        <span class="fa fa-angle-right fa-3x pro-arrow"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>


            <div class="pro-write-text-box-step" ng-show="writeStep==2">
                <div class="pro-write-text-base pro-write-text-base-left-step2">
                    <div class="pro-write-base-box pro-write-base-community">
                        <p class="pro-write-base-title">法人姓名：</p><input
                            ng-model="companyModel.legalPersonName" value="{{RootCompanyInfo.legalPersonName}}"
                            class="pro-write-base-text form-control" type="text">
                    </div>
                    <div class="pro-write-base-box">
                        <p class="pro-write-base-title">法人身份证号码：</p><input
                            ng-model="companyModel.legalPersonIdCardNo" value="{{RootCompanyInfo.legalPersonIdCardNo}}"
                            class="pro-write-base-text form-control" type="text">
                    </div>
                    <div class="pro-write-base-box">
                        <p class="pro-write-base-title">法人电话号码：</p><input
                            ng-model="companyModel.legalPersonPhone" alue="{{RootCompanyInfo.legalPersonPhone}}"
                            class="pro-write-base-text form-control" type="text">
                    </div>
                    <div class="pro-write-base-box">
                        <p class="pro-write-base-title">法人营业执照号码：</p><input
                            ng-model="companyModel.licenseNum" value="{{RootCompanyInfo.licenseNum}}"
                            class="pro-write-base-text form-control" type="text">
                    </div>
                </div><div class="pro-write-text-base pro-write-text-base-right-step2">
                    <div class="pro-write-base-box-picure pro-write-base-community">
                        <p class="pro-write-base-title pro-write-legal-picture">法人营业执照照片：</p>
                        <div class="pro-legal-picture-box" >
                            <div class="pro-legal-picture-border" >
                                <div id="proLegalPicture"  ng-class="upload.licensePicture ? 'pro-logo-completed pro-legal-picture-content-big':'pro-legal-picture-content '">
                                    <input onchange='angular.element(this).scope().uploadLegalPicture(this)'
                                           type="file" accept="image/png,image/gif"
                                           class="pro-logo-file">
                                    <img id='plusImag' class="pro-logo-plus"
                                         ng-src={{upload.licensePicture||"img/company/plus.png"}}>
                                </div>
                                <p class="pro-upload-text">上传文件</p>
                            </div>
                        </div>
                    </div>
                </div>

            </div>

            <div class="pro-write-text-box-step" ng-show="writeStep==3">
                <div class="pro-write-text-base pro-write-text-base-left-step3">
                    <div class="pro-write-base-box pro-write-base-community">
                        <p class="pro-write-base-title  pro-write-add-style"><span class="pro-write-base-star">*</span>联系人姓名：</p><input
                            ng-model="companyModel.linkman" value="{{RootCompanyInfo.linkman}}"
                            class="pro-write-base-text form-control" type="text">
                    </div>
                    <div class="pro-write-base-box">
                        <p class="pro-write-base-title pro-write-add-style">所在部门：</p><input
                            ng-model="companyModel.department" value="{{RootCompanyInfo.department}}"
                            class="pro-write-base-text form-control" type="text">
                    </div>
                </div
                ><div class="pro-write-text-base pro-write-text-base-right-step3">
                    <div class="pro-write-base-box pro-write-base-community pro-write-margin">
                        <p class="pro-write-base-title pro-wrsite-title" ng-style="EleStyle.width('proWriteEmail', 1)">固定电话：</p><input
                            ng-model="companyModel.phone" value="{{RootCompanyInfo.phone}}"
                            class="pro-write-base-text form-control" type="text">
                    </div>
                    <div class="pro-write-base-box">
                        <p id="proWriteEmail" class="pro-write-base-title pro-wrsite-title">联系人邮箱：</p><input
                            ng-model="companyModel.email" value="{{RootCompanyInfo.email}}"
                            class="pro-write-base-text form-control" type="text">
                    </div>
                </div>
            </div>



            <div class="pro-write-page-box">
                <input ng-click="nextWriteStep(-1)" type="button" class="pro-page-button pro-page-last" value="上一步"
                ><input ng-click="nextWriteStep(1)" type="button" class="pro-page-button pro-page-next" value="下一步">
            </div>
            <a ng-click="writeStep=0" class="base-close-window">
                <span class="base-close-window-content">ｘ</span>
            </a>
        </div>
    </div>



    <div ng-show="showChangePhoneWindow">
        <div class="base-background"></div>
        <div class="base-window-box pro-change-phone-box pro-change-phone-box-mhws">
            <div class="base-window-content-box">
                <div class="pro-write-title-box">
                    <h6 class="pro-write-title base-window-title">绑定手机号修改</h6>
                </div>
                <div class="pro-phone-content-box">
                    <div class="pro-phone-content pro-phone-content-first">
                        <p class="pro-phone-content-title">请输入原手机号码：</p><input  ng-model="oldPhone" type="text" class="form-control pro-phone-content-text">
                    </div>
                    <div class="pro-phone-content">
                        <p class="pro-phone-content-title">短信验证码：</p><input ng-model="verifyCode" placeholder="短信验证码" type="text" class="form-control pro-phone-content-text pro-phone-input-verify "><input ng-disabled="verifyCodeBtn" ng-model="verifyCodeBtn" id="sms" ng-click="sendVerifyCode(oldPhone)" value="{{verifyCodeBtn || '获取短信验证码'}}" type="button" class="btn btn-default pro-phone-input-verify-btn pro-phone-content-text pro-phone-input-verify">
                    </div>
                    <div class="pro-phone-content">
                        <p class="pro-phone-content-title">请输入新手机号码：</p><input ng-model="newPhone" type="text" class="form-control pro-phone-content-text">
                    </div>
                    <div class="pro-phone-content">
                        <p class="pro-phone-content-title">请确认新手机号码：</p><input ng-model="reNewPhone" type="text" class="form-control pro-phone-content-text">
                    </div>
                </div>

                <div class="pro-write-page-box pro-phone-button-box">
                    <input type="button" ng-click="changeBindPhone(oldPhone, newPhone, reNewPhone, verifyCode)" class="pro-phone-button" value="确 认 修 改">
                </div>
            </div>

            <a class="base-close-window" ng-click="showChangePhoneWindow=false">
                <span class="base-close-window-content" ng-style="EleStyle.lineHeight('base-close-window', 1)">ｘ</span>
            </a>

        </div>
    </div>




</div>


